<template>
    <div class="repair-{{ label }}">
      <div class="menu-box">
        <div class="txt-box" style="display: none;">
          {{ label }}
          <br />
          <span class="ft12">{{ label }}</span>
        </div>
        <div class="icon txt">
          <img :src="require(`@/assets/img/${icon}.png`)" />
        </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: 'MenuItem',
    props: {
      icon: String,
      label: String
    }
  };
  </script>
  
  <style scoped>
  /* Styles for MenuItem */
  </style>
  